<form action="<?=base_url()?>user/saveReg" method="post" class="form-horizontal">
	<fildset>
		<legend>Регистрация</legend>

		<div class="control-group">
			<label for="inputMail" class="control-label">E-Mail</label>
			<div class="controls">
		    	<input type="text" id="inputMail" name="pEmail" class="input-large" placeholder="mymail@gmail.com" >
		    </div>
		</div>

		<div class="control-group">
			<label for="inputPass" class="control-label">Пароль</label>
			<div class="controls">
		    	<input type="password" id="inputPass" name="pPass" class="input-large" >
		    </div>
		</div>


		<div class="control-group">
			<label for="inputFam" class="control-label">Фамилия</label>
			<div class="controls">
		    	<input type="text" id="inputFam" name="pFamily" class="input-large" placeholder="Фамилия.."	>
		    </div>
		</div>
		<div class="control-group">
			<label for="inputName" class="control-label">Имя</label>
			<div class="controls">
		    	<input type="text" id="inputName" name="pName" class="input-large" placeholder="Имя.." >
		    </div>
		</div>
		<div class="control-group">
			<label for="inputAdress" class="control-label">Адрес</label>
			<div class="controls">
		    	<input type="text" id="inputAdress" name="pAdress" class="input-large" placeholder="Адрес.." >
		    </div>
		</div>
		<div class="control-group">
			<label for="inputPhone" class="control-label">Телефон</label>
			<div class="controls">
		    	<input type="text" id="inputPhone" name="pPhone" class="input-large" placeholder="+7 (3743) 12 34 56" >
		    </div>
		</div>
		<div class="control-group">
			<label for="i_city" class="control-label">Город</label>
			<div class="controls">
				<select name="tCity" id="i_city">
					<? foreach ($cities as $city): ?>										
						<option value="<?= $city->id ?>"<?=$city->id == 1 ? ' selected' : ''?> > <?=$city->pTitle?> </option>
					<? endforeach; ?>
				</select>
		    </div>
		</div>

		<div class="control-group">
			<div class="controls">
		    	<button type="submit" class="btn btn-success"><i class="icon-ok icon-white"></i>&nbsp Готово</button>
		    </div>
		  </div>
	</fildset>
</form>


